// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const maintainRouter = {
  path: '/maintain',
  component: Layout,
  redirect: '/maintain/',
  name: 'maintain',
  meta: {
    title: '维护',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'user',
      name: 'user',
      component: () => import('@/views/maintain/user'),
      meta: {
        title: '个人中心',
        icon: 'clipboard'
      },
      hidden: true
    },
    {
      path: 'siteConfig',
      component: () => import('@/views/systemSetting/siteConfig'),
      name: 'siteConfig',
      meta: { title: '系统信息配置', icon: '' }
    },
    {
      path: 'identityManager',
      component: () => import('@/views/systemSetting/administratorAuthority/identityManager'),
      name: 'identityManager',
      meta: { title: '角色管理', icon: '' }
    },
    {
      path: 'adminList',
      component: () => import('@/views/systemSetting/administratorAuthority/adminList'),
      name: 'adminList',
      meta: { title: '管理员列表', icon: '' }
    }
  ]
}

export default maintainRouter
